package com.artisan.admin.model.startPageViewModels;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 启动页视图模型
 */
public class StartPageViewModel implements Serializable {
    @ApiModelProperty(value="链接",required = false,example = "1")
    private int id;  // id
    @ApiModelProperty(value="名称",required = true,example = "1")
    private String name;  // 名称
    @ApiModelProperty(value="开始时间",required = true,example = "1")
    private long startDate;  // 开始时间
    @ApiModelProperty(value="结束时间",required = true,example = "1")
    private long endDate;  // 结束时间
    @ApiModelProperty(value="位置，1为左上角，2为右上角",required = true,example = "1")
    private int position; // 位置，1为左上角，2为右上角
    @ApiModelProperty(value="停留时间，毫秒",required = true,example = "1")
    private int stayTime;  // 停留时间，毫秒
    @ApiModelProperty(value="链接",required = false,example = "1")
    private String link;  // 链接
    @ApiModelProperty(value="内容",required = false,example = "1")
    private String content;  // 内容

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getStartDate() {
        return startDate;
    }

    public void setStartDate(long startDate) {
        this.startDate = startDate;
    }

    public long getEndDate() {
        return endDate;
    }

    public void setEndDate(long endDate) {
        this.endDate = endDate;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getStayTime() {
        return stayTime;
    }

    public void setStayTime(int stayTime) {
        this.stayTime = stayTime;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
